<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create Account</title>
</head>
<body>
	<h1>Create New Account</h1>
	<%
		if(session.getAttribute("Note") != null){
			out.println("<p><span style=\"color:red\">" + session.getAttribute("Note") +"</span></p>");
			session.removeAttribute("Note");
		}else
			out.println("<p>Please choose username and password</p>");
	%>
	
	<form action="NewAccServlet" method="post">
		<p>User Name: <input type="text" name="userName" /></P>
		<p>Password: <input type="password" name="password1" /></P>
		<p>Password: <input type="password" name="password2" /><input type="submit"	value="sign up" /></P>
	</form>

</body>
</html>